package com.guldan.core.exception;

/**
 * Created by Silas.
 * Date: 2016/10/1
 * Time: 22:17
 */
public class SystemException extends RuntimeException {
    private static final long serialVersionUID = 1L;
    private String message;

    public SystemException(String message) {
        super(message);
        this.message = message;
    }

    public SystemException(Throwable cause) {
        super(cause);
    }

    public SystemException(String message, Throwable cause) {
        super(message, cause);
        this.message = message;
    }

    public String getMessage() {
        return this.message;
    }

    protected void setMessage(String message) {
        this.message = message;
    }
}

